﻿@model int
@{
    ViewBag.Title = "Email";
}

<h2>Email Store @Model</h2>



@using (Html.BeginForm("SendEmail", "Hours", new { id = Model }, FormMethod.Post))
{      
    <textarea id ="email" style ="width:600px; height:300px; ">
        Store @Model 
        Please Confirm your Store hours
    </textarea>
    <input id="submitButton" type="submit" value="Send Confirmation Email" onclick="return summary.Submit()"/> 
}

<script type="text/javascript">
    document.getElementById('email');
    function OnCellClick(id) {
        window.location = "@Url.Action("SendEmail", "Hours")/" + id;
    }
</script>